Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Constants and Data Types for Synonyms


Pattern Synonym

The gxPatternSynonymTag synonym ('ptrn') for patterns is defined:

#define gxPatternSynonymTag 0x7074726E
The gxPatternSynonym structure defines the contents of a gxPatternSynonymTag synonym:

struct gxPatternSynonym {
   long     patternType;      
   fixed    angle;            
   fixed    spacing;          
   fixed    thickness;        
   gxPoint  anchorPoint;      
};
Field Description
patternType
The pattern type, either gxHatch or gxCrossHatch.
angle
The angle of the lines in the pattern.
spacing
The distance of the lines in the pattern.
thickness
A point that specifies the upper-left corner at which the pattern begins.
Patterns can be either hatch or crosshatch:

enum gxPatterns {
   gxHatch        = 0,
   gxCrossHatch   = 1
};
Constant descriptions

gxHatch
Use a hatch pattern.
gxCrossHatch
Use a crosshatch pattern.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help